package com.example.demo.service;


import com.example.demo.entity.CourseMatsBean;
import com.example.demo.util.PageEntity;

import java.util.List;

public interface CourseMatsService {

    List<CourseMatsBean>  all();

    Integer add(CourseMatsBean courseMatsBean);

    Integer update(CourseMatsBean courseMatsBean);

    Integer delete(Integer id);

    CourseMatsBean one(Integer id);

    PageEntity list(Integer pageNo, Integer pageSize, String address, String name, String sortOrder);



}
